<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/list.css"/>
		<script src="/qrcode/jquery2.1.4.js"></script>
		<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

		<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css" integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">

		<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
		<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
		<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.15.3/dist/bootstrap-table.min.css">
		<script src="https://unpkg.com/bootstrap-table@1.15.3/dist/bootstrap-table.min.js"></script>
	</head>
	<body>
		<table id="express_list"></table>
		<script>
			$(function () {
				$("#express_list").bootstrapTable({
					url:"/express/list.do",
					striped:true,
					pageNumber:1,
					pagination:true,
					sidePagination:"server",
					pageSize:5,
					pageList:[5,10,20],
					showRefresh:true,
					queryParams: function (params) {
						var temp={
							offset:params.offset,
							pageNumber:params.limit
						};
						return temp;
					},
					columns:[
						{
							title:"编号",
							field:"id",
							sortable:true
						},
						{
							title:"编号",
							field:"number",
							sortable:true
						},
						{
							title:"收件人姓名",
							field:"userName",
							sortable:true
						},
						{
							title:"收件人手机号",
							field:"userPhone",
							sortable:true
						},
						{
							title:"快递公司",
							field:"company",
							sortable:true
						},
						{
							title:"取件码",
							field:"code",
							sortable:true
						},
						{
							title:"入库时间",
							field:"inTime",
							sortable:true
						},
						{
							title:"出库时间",
							field:"outTime",
							sortable:true
						},
						{
							title:"状态",
							field:"status",
							sortable:true
						},
						{
							title:"录入人电话",
							field:"sysPhone",
							sortable:true
						}
					]
				})
			})

		</script>
	</body>
</html>
